package com.gc.server.enums;

import lombok.Getter;


/**
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Mar 12 15:17:52 CST 2020
 */
@Getter
public enum SysMenuStatusEnum {


                   OPEN(0,"启用")
                                    ,
                
            
                   CLOSE(1,"关闭")
                
                                ;
            
        
        int index;
        String value;

    SysMenuStatusEnum(int index,String value) {
        this.index = index;
        this.value = value;
        }

    public static String indexOf(int idx) {
        return SysMenuStatusEnum.values()[idx].getValue();
    }

}
